package com.htgd.gardenexpo.service;

import com.htgd.gardenexpo.entity.CommonResult;
import com.htgd.gardenexpo.entity.GeConVenue;
import com.baomidou.mybatisplus.extension.service.IService;
import com.htgd.gardenexpo.entity.PageQuery;
import com.htgd.gardenexpo.page.VenueQuery;

import java.util.List;

/**
 * <p>
 * 新闻表 服务类
 * </p>
 *
 * @author author
 * @since 2024-03-11
 */
public interface GeConVenueService extends IService<GeConVenue> {

    void insert(GeConVenue geConVenue);

    void updateEntity(GeConVenue geConVenue);

    void deleteById(int newId);

    List<GeConVenue> getAllNewsByValue(VenueQuery venueQuery);

    List<GeConVenue> getAllNewsByValueNoContent(VenueQuery venueQuery);

    GeConVenue queryById(Integer newId);

    CommonResult getVenueNums(String date);
}
